//初始化
var form;
var $;
var laydate;
layui.use(['form','laydate','jquery'],function(){
    form = layui.form;
    $ = layui.jquery;
    laydate=layui.laydate;

    var avatarUrl = $("input[name=avatarUrl]").val();
    $(".img_title").attr("src",avatarUrl);
});

//查看课程列表
function seluserCourse() {
    var userId=$("input[name=userId]").val();
    location.href = "userCourse.html?" + userId;
}

//查看课程列表
function selUserCollection2() {
    var userId=$("input[name=userId]").val();
    location.href = "userCollection.html?" + userId;
}

//查看课程列表
function seluserLike() {
    var userId=$("input[name=userId]").val();
    location.href = "userLike.html?" + userId;
}